package com.example.demo.service.impl;

import com.example.demo.mapper.UserMapper;
import com.example.demo.pojo.vo.LoginVo;
import com.example.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 程序员小洋
 * @version 2022.3
 * @date 2023/5/9 09:16
 * @title 用户表的业务实现类
 */
@SuppressWarnings("all")
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public LoginVo login(LoginVo loginVo) {
        return userMapper.login(loginVo);
    }
}
